<?php

/**
 * @author Murat Cem YALIN <muratcem@gmail.com>
 * @copyright 2014 muratcem.com - walkerPHP.com
 * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License, version 3
 * @version 1.0.1
 */

namespace core\Paging;

interface IPaging{

    /**
     * function to create page number list
     *
     * @param int $maxCount
     * @param int $perPage
     * @return string
     */
    public static function makePageList($maxCount, $perPage = 10);

    /**
     * function that calculates total page count
     *
     * @param integer $maxCount
     * @param integer $perPage
     * @return integer
     */
    public static function totalPageCount($maxCount, $perPage = 10);
}